package com.jic.point.mapper;

import com.jic.point.model.entity.ConfBdApply;
import com.jic.point.model.entity.ConfPlatformApply;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ConfPlatformApplyMapper {
    /**
     * CONF_PLATFORM插入数据
     * @param confPlatformApply 入参实体类
     */
    int insert (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM插入数据
     * @param confPlatformApply 入参实体类
     */
    int insertSelective (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM根据表对象数据修改数据
     * @param confPlatformApply 入参实体类
     */
    int updateByPrimaryKey (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM根据表对象数据修改数据
     * @param confPlatformApply 入参实体类
     */
    int updateByPrimaryKeySelective (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM根据表对象数据修改数据
     * @param confPlatformApply 入参实体类
     */
    int updatePrimaryKeySelective (ConfPlatformApply confPlatformApply);
    /**
     * CONF_PLATFORM根据id删除数据
     * @param confPlatformApply 入参实体类
     */
    int deleteByPrimaryKey (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM根据主键查询数据
     * @param confPlatformApply 入参实体类
     */
    ConfPlatformApply selectByPrimaryKey (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM根据主键查询数据
     * @param confPlatformApply 入参实体类
     */
    List<ConfPlatformApply> listPageBySelective (ConfPlatformApply confPlatformApply);

    /**
     * CONF_PLATFORM查询数据
     * @param confPlatformApply 入参实体类
     */
    List<ConfPlatformApply>  selectBySelective (ConfPlatformApply confPlatformApply);

    List<ConfBdApply> selectByApply(@Param("date") Date time);
}
